package office.dao.hr;

import platform.common.dao.impl.BaseDomainProviderImpl;

public class CheckIdeaDP extends BaseDomainProviderImpl {

	/**
	 * 获取某个审批对象的审批意见
	 * @return
	 */
	public String getFindByCheckFolwId(){
		return "select new office.action.hr.wrapper.CheckIdeaWrapper(a.id," +
				"a.checkFolwId,a.checkMemo,a.check,a.checkTime,a.checkUserId,b.cname)  from "+this.getDomainClassName()+
				" a ,User b where a.checkFolwId=:checkFolwId and a.checkUserId=b.id order by a.checkTime";
	}
}
